package com.zq.assistant.func.ioc;

import android.app.Activity;
import android.view.View;

import com.zq.assistant.func.ioc.injector.InjectorImpl;

/**
 * Created by zhangqiang on 17-7-7.
 */

public class InjectUtils {

    public static void inject(Activity activity){

        new InjectorImpl().inject(activity,activity);
    }

    public static void inject(Object target,View view){

        new InjectorImpl().inject(view.getContext(), target);
    }
}
